<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/button.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/customer/customer_manage.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/button.js"></script>
</head>
<body>
	<script type="text/javascript">
		$(function() {
//			var json='{$customer_json}';
//			var array=eval('('+json+')');
			$('#customer_table').datagrid();
		});


	</script>

	<div class="customer_table">
		<table id="customer_table" title="客户列表" style="width:100%;height:372px;"
			data-options="
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				url:'../../customer/customer/customer_main',
				pagination:true,
				pageSize:10,toolbar:'#tb'
			"
		>
			<thead>
				<tr>
					<th field="cust_name" width="8%" align="center">姓名</th>
					<th field="cust_loadname" width="12%" align="center">用户名</th>
					<th field="cust_phone" width="12%" align="center">电话</th>
					<th field="cust_email" width="15%" align="center">邮箱</th>
					<th field="fund_balance" width="10%" align="center">账户余额</th>
					<th field="cust_recentdate" width="15%" align="center">最近登录时间</th>
					<th field="cust_login_ip" width="15%" align="center">登录IP</th>
					<!--<th field="action" width="12%" align="center" formatter="formatAction">操作</th>-->
				</tr>
			</thead>
		</table>
	</div>

	<div id="tb" style="padding:5px;height:auto">
        <div style="margin-bottom:5px;height:25px" id="tb_button">
            <!--<a href="javascript:;" onclick="customer_add();" class="easyui-linkbutton" iconCls="icon-add" plain="true">新增</a>
            <a href="javascript:;" onclick="customer_update();" class="easyui-linkbutton" iconCls="icon-edit" plain="true">编辑</a>
            <a href="javascript:;" onclick="customer_see();" class="easyui-linkbutton" iconCls="icon-man" plain="true">详情</a>-->
        </div>
		<form action="../../customer/customer/customer_main" method="post" id="searchTable">
			<div>
				客户姓名: <input class="easyui-textbox" id="nameSelect" name="nameSelect" value="" style="width:80px">
				&nbsp;&nbsp;客户电话: <input class="easyui-textbox" id="phoneSelect" name="phoneSelect" value="" style="width:80px">
				&nbsp;&nbsp;电子邮箱: <input class="easyui-textbox" id="emailSelect" name="emailSelect" value="" style="width:120px">
				<a href="javascript:;" onclick="submitSearch();" class="easyui-linkbutton" iconCls="icon-search">查询</a>&nbsp;
				<a href="javascript:;" onclick="resetSearch();" class="easyui-linkbutton" iconCls="icon-clear">重置</a>&nbsp;
			</div>
		</form>
	</div>
</body>
</html>